Configuring Redirect Number Manipulation
Each redirect number manipulation table lets you configure up to 20 rules for manipulating the redirect number received in SIP messages. The redirect number manipulation tables include:
■ | Redirect Number Tel-to-IP table: Defines Tel-to-IP redirect number manipulation. You can manipulate the prefix of the redirect number received from the Tel side, in the outgoing SIP Diversion, Resource-Priority, or History-Info headers sent to the IP side. |
Configuration of redirect number manipulation rules includes two areas:
■ | Match: Defines the matching characteristics of an incoming call (e.g., prefix of redirect number). |
■ | Action: Defines the action that is done if the incoming call matches the characteristics of the rule (e.g., removes a user-defined number of digits from the left of the redirect number). |
The device searches the table from top to bottom for the first rule that matches the characteristics of the incoming call. If it finds a matching rule, it applies the manipulation configured for that rule.
● | If the device copies the received destination number to the outgoing SIP redirect number (enabled by the CopyDest2RedirectNumber parameter), no redirect number Tel-to-IP manipulation is done. |
● | The manipulation rules are done in the following order: 'Stripped Digits From Left', 'Stripped Digits From Right', 'Number of Digits to Leave', 'Prefix to Add', and then 'Suffix to Add'. |
● | The device uses the 'Redirect Prefix' parameter before it manipulates the prefix. |
The following procedure describes how to configure redirect number manipulation rules through the Web interface. You can also configure these rules using the following management tools:
■ | Redirect Number Tel-to-IP table: ini file [RedirectNumberMapTel2Ip] or CLI (configure voip > gateway manipulation redirect-number-map-tel2ip) |
➢ | To configure a redirect number manipulation rule: |
1. | Open the required redirect number manipulation table (Setup menu > Signaling & Media tab > Gateway folder > Manipulation > Redirect Number Tel > IP ). |
2. | Click New; the following dialog box appears (e.g., Redirect Number Tel-to-IP table): |
3. | Configure a manipulation rule according to the parameters described in the table below. |
4. | Click Apply. |
Redirect Number Manipulation Tables Parameter Description
Parameter |
Description |
|||||||||
---|---|---|---|---|---|---|---|---|---|---|
General | ||||||||||
'Index' [Index] |
Defines an index number for the new table row. Note: Each row must be configured with a unique index. |
|||||||||
'Name' manipulation-name [ManipulationName] |
Defines a descriptive name, which is used when associating the row in other tables. The valid value is a string of up to 40 characters. Note: The parameter value can't be configured with the character string "any" (upper or lower case). |
|||||||||
Match |
||||||||||
'Destination Phone Pattern' dst-pattern [DestinationPrefix] |
Defines the destination (called) telephone number. You can use special patterns (notations) to denote the number. For example, if you want to match this rule to a number whose last four digits (i.e., suffix) are 4 followed by any three digits (e.g., 4008), then configure this parameter to "(4xxx)". For available patterns, see Patterns for Denoting Phone Numbers and SIP URIs. The default value is the asterisk (*) symbol, meaning any destination number. |
|||||||||
'Redirect Phone Pattern' redirect-pattern [RedirectPrefix] |
Defines the redirect telephone number. You can use special patterns (notations) to denote the number. For example, if you want to match this rule to a number whose last four digits (i.e., suffix) are 4 followed by any three digits (e.g., 4008), then configure this parameter to "(4xxx)". For available patterns, see Patterns for Denoting Phone Numbers and SIP URIs. The default value is the asterisk (*) symbol, meaning any redirect number. |
|||||||||
'Source Trunk Group ID' src-trunk-group-id [SrcTrunkGroupID] |
Defines the Trunk Group from where the Tel call is received. To denote any Trunk Group, leave this field empty. The value -1 indicates that this field is ignored in the rule. Note: The parameter is applicable only to the Redirect Number Tel-to-IP table. |
|||||||||
Action |
||||||||||
'Stripped Digits From Left' remove-from-left [RemoveFromLeft] |
Defines the number of digits to remove from the left of the redirect number prefix. For example, if you enter 3 and the redirect number is 5551234, the new number is 1234. |
|||||||||
'Stripped Digits From Right' remove-from-right [RemoveFromRight] |
Defines the number of digits to remove from the right of the redirect number prefix. For example, if you enter 3 and the redirect number is 5551234, the new number is 5551. |
|||||||||
'Number of Digits to Leave' num-of-digits-to-leave [LeaveFromRight] |
Defines the number of digits that you want to retain from the right of the redirect number. |
|||||||||
'Prefix to Add' prefix-to-add [Prefix2Add] |
Defines the number or string that you want added to the front of the redirect number. For example, if you enter 9 and the redirect number is 1234, the new number is 91234. |
|||||||||
'Suffix to Add' suffix-to-add [Suffix2Add] |
Defines the number or string that you want added to the end of the redirect number. For example, if you enter 00 and the redirect number is 1234, the new number is 123400. |
|||||||||
'Presentation' is-presentation-restricted [IsPresentationRestricted] |
Enables caller ID.
Note: If you configure the parameter to Restricted and the 'AssertedIdMode' parameter to Add P-Asserted-Identity, the From header in the INVITE message includes the following: From: 'anonymous' <sip: anonymous@anonymous.invalid> and 'privacy: id' header. |